package it.trekker.dao;

import java.util.List;


public interface IExcursionDAO {
	
	public int insert(Excursion excursion);
	public int remove(int id);
	public int update(Excursion excursion);
	public Excursion findExcursionById(int id);
	public Excursion findExcursionById(int id, boolean loadCoordinates);
	public List<Excursion> findExcursionByName(String name);
	public List<Excursion> findAllExcursions();
	public List<Excursion> findCloseExcursions(Excursion excursion, double radius);
	public List<Excursion> findCloseExcursions(GPSCoordinate gpsCoord, double radius);
	public List<Excursion> findExcursionsByUser(User user);
	
}
